package extend03;

//3.java可以有多层次(间接)的继承
class A1 {
    public void methodA() {

    }

}

class B1 extends A1 {
    public void methodB() {

    }
}

class C1 extends B1 {
}
public class Demo03 {
}
